<div class="col-md-4 pull-right">
	
	<div class="col-md-12 rightbar-form" >
			<h3 class="headings text-upper">Want Our Newsletter?</h3>
			<div class="clarfix"></div>
			<p>Signup for our Newsletter that delivers the latest articles, blogs and industry trends.</p>
				<div class="clarfix"></div>
			<?php 
				$news = new Newsletters();
				$form=$this->beginWidget('CActiveForm', array(
						'action' => $this->createUrl('/site/newsletter/'),
						'id'=>'right-news-form',
						'enableAjaxValidation'=>true,
						'clientOptions'=>array(
					      'validateOnSubmit'=>true,
					     ),
				
					)); 
			?>
				<div class="text-right form-group">
					<?php echo $form->textField($news,'email', array('class'=>'form-control', 'placeholder'=>'Email Address')); ?>
				</div>
					<?php echo CHtml::ajaxSubmitButton('Get Newsletters', Yii::app()->getBaseUrl().'/site/newsletter/',
                 array(
                     'dataType'=>'json',
                     'type'=>'post',
                     'success'=>'function(data) {
                        if(data.status=="success"){
                         $("#right-news-form")[0].reset();
                 		 $(".rightbar-form .news-error").html("Thanks for subscribing to our newsletters!");
                        }
                        else{
                 		 $(".rightbar-form .form-group").addClass("has-error");
                 		 $(".rightbar-form #Newsletters_email").focus();
                 		 $.each(data, function(key, val) {
                 			$(".rightbar-form .news-error").text(val);
                 		 });
                 		 $(".rightbar-form .news-error").html();
                        }       
                    }',
                 	'error' => 'function(data){
                 		$(".rightbar-form .news-error").html("Oops, please try after some time");
                 	}',               
                     'beforeSend'=>'function(){
						$(".rightbar-form .form-group").removeClass("has-error");
                        $(".rightbar-form .news-error").html("<img src='.Yii::app()->getBaseUrl().'/images/loading.gif alt=loading... />");
                      }'
                     ),array('id'=>'mybtn','class'=>'btn btn-danger')); ?>
				<div class="col-md-12 row col-xs-12 text-left text-black news-error errorMessage"></div>
			<?php $this->endWidget(); ?>
		</div>
		
		
	<div class="clearfix"></div>
	
	<div class="col-md-12 mt-20">
		<h3 class="headings text-upper">Get a Free Quote</h3>
		<p>Need a free quote or more information on our marketing database? Hit the button below</p>
		<a href="<?php echo $this->createUrl('site/requestQuote')?>" class="btn btn-danger">Send me a free quote</a>
	</div>
	
	<div class="clearfix"></div>
	
	<div class="col-md-12 mt-50">
		<h3 class="headings text-upper">Industry Solutions</h3>
		<p>Indulge yourself with industry-specific marketing solution from Lake B2B.</p>
		<a href="<?php echo $this->createUrl('site/page', array('slug'=>'industries'))?>" class="btn btn-danger">Check our industry solutions</a>
	</div>
	
	<div class="clearfix"></div>
	
	<div class="col-md-12 mt-50">
	
		<h3 class="headings text-upper">Follow Us</h3>
		
		<!-- Facebook follow -->
		<div id="fb-root"></div>
			<script>(function(d, s, id) {
			  var js, fjs = d.getElementsByTagName(s)[0];
			  if (d.getElementById(id)) return;
			  js = d.createElement(s); js.id = id;
			  js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0";
			  fjs.parentNode.insertBefore(js, fjs);
			}(document, 'script', 'facebook-jssdk'));</script>
			
			
		<div class="fb-like" data-href="https://www.facebook.com/pages/Lake-B2B/138369793039331" data-width="100" data-layout="standard" data-action="like" data-show-faces="true" data-share="false"></div>
		
		<!--  Facebook follow  end here -->
		
		<div class="clearfix mt-20"></div>
		
		<!--  Twitter follow -->
		
		<a href="https://twitter.com/lakeb2b" class="twitter-follow-button" data-show-count="true"><img src="/images/social-twitter-follow.gif" alt="" /></a>
		
		<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
		
		<!-- Twitter follow  end here -->
		
		<div class="clearfix mt-20"></div>
		
		<!-- LinkedIn follow -->
		<script src="//platform.linkedin.com/in.js" type="text/javascript">
		  lang: en_US
		</script>
		<script type="IN/FollowCompany" data-id="2968345" data-counter="right"></script>
		
		<!-- LinkedIn follow end here -->
		
		<div class="clearfix mt-15"></div>
		<!-- 
		<script src="https://apis.google.com/js/platform.js" type="text/javascript"></script>

		<div class="g-follow" data-annotation="bubble" data-height="20" data-href="//plus.google.com/u/0/117479463964841821393" data-rel="publisher"></div>
 		-->
		
		</div>
	
</div>